﻿package com.tudou.events
{
    import flash.events.*;

    public class LoaderEvent extends Event
    {
        private var _data:Object;
        public static const COMPLETE:String = "complete";
        public static const SECURITY_ERROR:String = "securityError";
        public static const END:String = "end";
        public static const TIMEOUT_ERROR:String = "timeoutError";
        public static const IO_ERROR:String = "ioError";

        public function LoaderEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4 = null)
        {
            super(param1, param2, param3);
            _data = param4;
            return;
        }// end function

        public function get data()
        {
            return _data;
        }// end function

    }
}
